Skip to content

Fix CI for #453: clang-format and type stubs for channel conversion#472

Open
gijzelaerr wants to merge 4 commits intospotify:masterfrom
gijzelaerr:feature/channel-conversion-453
Open

Fix CI for #453: clang-format and type stubs for channel conversion#472
gijzelaerr wants to merge 4 commits intospotify:masterfrom
gijzelaerr:feature/channel-conversion-453

Conversation

@gijzelaerr
Copy link
Member

Summary

This PR builds on @psobot's #453 (.mono() / .stereo() / .with_channels() channel conversion methods) and fixes the two CI failures:

  • clang-format violations: Applied clang-format --style=LLVM to ReadableAudioFile.h, ChannelConvertedReadableAudioFile.h, and python_bindings.cpp
  • Missing type stubs: Added ChannelConvertedReadableAudioFile class definition and mono(), stereo(), with_channels() method stubs to ReadableAudioFile, ResampledReadableAudioFile, and ChannelConvertedReadableAudioFile in pedalboard_native/io/__init__.pyi

Test plan

🤖 Generated with Claude Code

psobot and others added 4 commits January 15, 2026 22:30
Fixes CI failures from psobot's spotify#453 (channel conversion feature):
- Apply clang-format (LLVM style) to ReadableAudioFile.h,
  ChannelConvertedReadableAudioFile.h, and python_bindings.cpp
- Add ChannelConvertedReadableAudioFile class to type stubs
- Add mono(), stereo(), with_channels() method stubs to
  ReadableAudioFile, ResampledReadableAudioFile, and
  ChannelConvertedReadableAudioFile
- Add resampled_to() method stubs to ResampledReadableAudioFile and
  ChannelConvertedReadableAudioFile (inherited from abstract base)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants